package com.mida.bms.report.mapper;

import com.mida.bms.report.entity.DocUseSpaceUnit;
import com.mida.bms.report.vo.DocUseSpaceUnitVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DocUseSpaceUnitMapper {
    int deleteByPrimaryKey(Long useSpaceUnitSoid);

    int insert(DocUseSpaceUnit record);

    int insertSelective(DocUseSpaceUnit record);

    DocUseSpaceUnit selectByPrimaryKey(Long useSpaceUnitSoid);

    int updateByPrimaryKeySelective(DocUseSpaceUnit record);

    int updateByPrimaryKey(DocUseSpaceUnit record);

    void deleteByAuthSpSoid(Long stTempAuthSpSoid);

    void updateStatusByAuthSpSoid(@Param("status") Long status, @Param("stTempAuthSpSoid") Long stTempAuthSpSoid);

    List<DocUseSpaceUnitVo> findAuthSpSoid(Long stTempAuthSpSoid);
}